#include<iostream> 
using namespace std;

int i;
int main()
{
    i = 5;
    {
        int i ;
        i=7;
        cout<<"i=" <<i<<endl; 
    }    
    cout<<"i=" <<i<<endl;
    system("pause") ;
    return 0; 
} 
